home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 12984 / 12984.xpi / chrome / VideoDownloaderToolbar.jar / content / exitdialog.xul < prev    next >
Extensible Markup Language  |  2009-12-31  |  912b  |  32 lines

  1. <?xml version="1.0" encoding="windows-1251"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <dialog title="Exit dialog" 
  4. buttons="accept, cancel"
  5.     buttonorient="rtl"    
  6.     onload="doOnload();"
  7.     ondialogaccept="return doOK();"
  8.     ondialogcancel="return doCancel();"    
  9.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.     <script type="application/x-javascript" src="chrome://vidbar/content/db.js" />
  11.     <description id="Title-quest" value="Test"  />
  12.     <checkbox id="list" label="Clear list" checked="false"/>
  13.  
  14. <script>
  15. function doOnload(){
  16.   document.getElementById('Title-quest').value=this.arguments[0];
  17. }
  18.  
  19. function doOK(){  
  20.   this.arguments[1].cancel = false;
  21.   this.arguments[1].clear = document.getElementById('list').checked;
  22.   return true;
  23. }
  24.  
  25. function doCancel(){
  26.   this.arguments[1].cancel = true;
  27.   return true;
  28. }
  29.  
  30. </script>
  31.  
  32. </dialog>